﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/AdminSite.Master" Inherits="System.Web.Mvc.ViewPage<IEnumerable<ArmaTuCumpleModel.Model.Feedback>>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Administrar FeedBack
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>Administrar FeedBack</h2>

    <table width="100%" border="0" cellpadding="0" cellspacing="0" class="data-table" style="font-size:smaller;">
        <tr>
            <th>
                Servicio
            </th>
            <th>
                Comentario
            </th>
            <th>
                Acción
            </th>
        </tr>

    <% foreach (var item in Model) { %>
    
        <tr>     
            <td>
                <%:item.Servicio_Usuario.Servicio.nombre %>
            </td>
            <td>
                <%: item.comentario %>
            </td>
            <td>              
                <%: Html.ActionLink("Eliminar", "AdminEliminarFeedback", new { id = item.id_feedback })%>
            </td>
        </tr>
    
    <% } %>

    </table>

<p>
<a href="<%=Request.UrlReferrer.ToString()%>">Volver</a>  
</p>

   

</asp:Content>

